package com.gopay.common.domain.cps.transfer;

import com.gopay.common.cipher.utils.SensitiveInfoUtils;
import com.gopay.common.domain.BaseEntity;

/**
 * 银行收款人
 * @BankPayeeVO.java
 * @author HJY
 * @2013-4-10 下午03:09:14  www.gopay.com.cn Inc.All rights reserved.
 */
public class BankPayeeVO extends BaseEntity {

    private static final long serialVersionUID = -6498157940926335896L;
    
    private String bankCode;
    private String bankName;
    private String bankProvinceCode;
    private String bankProvinceName;
    private String bankCityCode;
    private String bankCityName;
    private String bankBranchName;
    private String bankBranchCode;
    private String bankAcctNum;
    private String bankAcctName;
    private String bcFlag;

    private String recvMobile; //add by jianghoup  手机号
    
    private String acctType;//add by nierongzhang 对公对私账户子类型
    private String forType1;//add by nierongzhang 对公对私账户子类型
    private String forType2;//add by nierongzhang 对公对私账户子类型
    
    public String getBankCode() {
        return bankCode;
    }
    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }
    public String getBankName() {
        return bankName;
    }
    public void setBankName(String bankName) {
        this.bankName = bankName;
    }
    public String getBankProvinceCode() {
        return bankProvinceCode;
    }
    public void setBankProvinceCode(String bankProvinceCode) {
        this.bankProvinceCode = bankProvinceCode;
    }
    public String getBankProvinceName() {
        return bankProvinceName;
    }
    public void setBankProvinceName(String bankProvinceName) {
        this.bankProvinceName = bankProvinceName;
    }
    public String getBankCityCode() {
        return bankCityCode;
    }
    public void setBankCityCode(String bankCityCode) {
        this.bankCityCode = bankCityCode;
    }
    public String getBankCityName() {
        return bankCityName;
    }
    public void setBankCityName(String bankCityName) {
        this.bankCityName = bankCityName;
    }
    public String getBankBranchName() {
        return bankBranchName;
    }
    public void setBankBranchName(String bankBranchName) {
        this.bankBranchName = bankBranchName;
    }
    public String getBankBranchCode() {
        return bankBranchCode;
    }
    public void setBankBranchCode(String bankBranchCode) {
        this.bankBranchCode = bankBranchCode;
    }

    public String getBankAcctNum() {
        /**
         * modify by huangcheng，2017年3月2日10:07:17 在程序中获取的时候进行解密操作，如果是hibernate自己调用（save等），则返回原值；
         */
        SensitiveInfoUtils.autoReencrypt(bankAcctNum);
        return SensitiveInfoUtils.smartDecryptWithCheck(bankAcctNum);
    }

    public void setBankAcctNum(String bankAcctNum) {
        this.bankAcctNum = SensitiveInfoUtils.smartEncryptWithCheck(bankAcctNum);
    }

    public String getBankAcctName() {
        /**
         * modify by huangcheng，2017年3月2日10:07:17 在程序中获取的时候进行解密操作，如果是hibernate自己调用（save等），则返回原值；
         */
        SensitiveInfoUtils.autoReencrypt(bankAcctName);
        return SensitiveInfoUtils.smartDecryptWithCheck(bankAcctName);
    }

    public void setBankAcctName(String bankAcctName) {
        this.bankAcctName = SensitiveInfoUtils.smartEncryptWithCheck(bankAcctName);
    }
    public void setBcFlag(String bcFlag) {
        this.bcFlag = bcFlag;
    }
    public String getBcFlag() {
        return bcFlag;
    }

    public String getRecvMobile() {
        return recvMobile;
    }

    public void setRecvMobile(String recvMobile) {
        this.recvMobile = recvMobile;
    }
    
	public String getAcctType() {
		return acctType;
	}
	public void setAcctType(String acctType) {
		this.acctType = acctType;
	}
	
	public String getForType1() {
		return forType1;
	}
	
	public void setForType1(String forType1) {
		this.forType1 = forType1;
	}
	
	public String getForType2() {
		return forType2;
	}
	
	public void setForType2(String forType2) {
		this.forType2 = forType2;
	}
    
    
}
